<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>图书借阅系统 - 便捷管理借阅信息</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
    <!-- 自定义样式 -->
    <style>
        /* 整体页面背景色 */
        body {
            background-color: #f4f4f4;
        }

        /* 容器样式，设置内边距和外边距 */
        .container {
            padding: 20px;
            margin-top: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }

        /* 导航栏样式调整 */
        .navbar {
            background-color: #6a92bc;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .navbar-brand,
        .navbar-nav.nav-link {
            color: #fff;
            font-weight: 500;
        }

        .navbar-nav.nav-link:hover {
            background-color: #6a92bc;
            color: #fff;
        }

        /* 标题样式 */
        h1,
        h2 {
            color: #333;
            text-align: center;
        }

        h1 {
            margin-bottom: 30px;
        }

        h2 {
            margin-bottom: 20px;
        }

        /* 段落样式 */
        p {
            text-align: center;
            color: #666;
            line-height: 1.6;
        }
    </style>
</head>

<body>

    <div class="container">

        <h1>图书借阅系统</h1>

        <!-- 导航栏 -->
        <nav class="navbar navbar-expand-lg navbar-light">
            <div class="container-fluid">
                <a class="navbar-brand" href="#">首页</a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
                    aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="navbarNav">
                    <ul class="navbar-nav">
                        <li class="nav-item">
                            <a class="nav-link" href="/books">图书列表</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/readers">读者列表</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/lending-records">借阅记录</a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

        <!-- 页面主体内容 -->
        <div>
            <h2>欢迎使用图书借阅系统！</h2>
            <p>在这里，你可以便捷地管理图书、读者信息以及借阅记录。</p>
        </div>

    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>